package com.funtl.oauth2.mapper;

import com.funtl.oauth2.entity.TbPermission;
import com.funtl.oauth2.entity.TbUser;

import java.util.List;

/**
 * @Author: wumz
 * @Date: 2020/8/7 14:42
 * @Version 1.0
 */
public interface TbPermissionMapper {

    /**
     * 通过userId查询权限信息
     * @param userId
     * @return
     */
    List<TbPermission> getTbPermissionByUserId(Long userId);
}
